package com.cium.aqie.objectOriented.enumEx

/**
 * @Function:
 * @Author: aqie
 * @Date: 2019/9/1 14:59
 */
enum class LogLevel(val id: Int){
    VERBOSE(0), DEBUG(1), INFO(2), WARN(3), ERROR(4), ASSERT(5);

    fun getTag(): String{
        return "$id, $name"
    }

    override fun toString(): String {
        return "$name, $ordinal"
    }
}